package com.truthbean.jeetb.utils.web;

public class OnLineProcess {
    private String cmd = "first";
    private Process pro;

    public OnLineProcess(Process p) {
        this.pro = p;
    }

    public void setPro(Process p) {
        this.pro = p;
    }

    public void setCmd(String c) {
        this.cmd = c;
    }

    public String getCmd() {
        return this.cmd;
    }

    public Process getPro() {
        return this.pro;
    }

    public void stop() {
        this.pro.destroy();
    }
}